import tui from '@/request/index'

export let getShopCartList = () =>{
	return tui.request(`/selectCart`,[], 'post')
}

export let updateNumCart = (data) =>{
	return tui.request(`/updateNumCart`, data, 'post')
}

export let addOrder = (data) =>{
	return tui.request(`/addOrder`, data, 'post')
}

export let deleteCart = (data) =>{
	return tui.request(`/deleteCart`, data, 'post')
}

export let addCart = (data) =>{
	return tui.request(`/addCart`, data, 'post')
}